﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="discuss.aspx.cs" Inherits="map_in" %>

<%@ Register Assembly="aspnetpager" Namespace="Wuqi.Webdiyer" TagPrefix="Webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">        
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="AllOb-Table">
    <div id="AllTitle">討論區-<asp:Literal ID="ltlName" runat="server"></asp:Literal></div>
    <div id="Sbtn"><a href="discuss.aspx?node=41">合作單位討論區</a>　
   <a href="discuss.aspx?node=437">長照樂智文件下載區</a>　</div>
    <table border="0" cellpadding="0" cellspacing="10" class="Reoturce01-Table">
      <tr>
      <td>
          <asp:Literal ID="ltlContent" runat="server"></asp:Literal>
      </td>
      </tr>
      </table>
    <table border="0" cellpadding="0" cellspacing="0" class="Discuss-title">
      <tr>
        <td width="182">
            <asp:LinkButton ID="btnAdd" runat="server" OnClick="btnAdd_Click">我要發文</asp:LinkButton></td>
        <td width="125" align="right">&nbsp;</td>
        <td width="199" align="right" valign="top">            
            <asp:TextBox ID="txtSearchKeyWord" CssClass="Discuss-order" runat="server"></asp:TextBox>
        </td>
        <td width="74">
            <asp:ImageButton ID="btnSearch" runat="server" onclick="btnSearch_Click" ImageUrl="image/search.png" Width="74" Height="23"/>
        </td>
      </tr>
    </table>
    <table border="0" cellpadding="0" cellspacing="0" class="Reoturce03-Table">
      <tr class="Reoturce03-title">
        <td width="102" align="center">日期</td>
        <td width="377" align="center">主旨</td>
        <td width="101" align="center">回覆人數</td>
      </tr>
        <asp:Repeater ID="RepeaterList" runat="server" OnItemDataBound="RepeaterList_ItemDataBound">
            <ItemTemplate>
                 <tr>
        <td class="Reoturce03-sob2"><asp:Label ID="lblCreatedDate" runat="server" Text='<%# Eval("CreatedDate","{0:yyyy.MM.dd}") %>'></asp:Label></td>
        <td class="Reoturce03-sob"><a href="discuss_in.aspx?post=<%# Eval("PostId") %>"><asp:Literal ID="ltlTitle" runat="server" Text='<%# Bind("Title") %>'></asp:Literal></a></td>
        <td class="Reoturce03-sob2"><asp:Literal ID="ltlReplyCount" runat="server" Text=''></asp:Literal></td>
      </tr>  
            </ItemTemplate>
        </asp:Repeater>
    </table>
        <div id="NumberPage">
            <Webdiyer:AspNetPager ID="AspNetPager1" runat="server"
                OnPageChanged="AspNetPager1_PageChanged" PageIndexBoxType="TextBox" PageSize="10"
                ShowPageIndexBox="Never" ShowFirstLast="false" PrevPageText="上一頁" NextPageText="下一頁" />
        </div>
    </div>  
</asp:Content>

